package chapter02;

public class Training06 {
    public static void main(String[] args) {
        for (int i = 0; i <=5; i++) {
            for (int z=1;z<=5-i;z++){
                System.out.print(" ");
            }
            for (int j=1;j<=(2*i-1);j++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
